package com.zking.entity;

/**
 * @author Tony
 * 订单详情表
 */
public class OrderDetail {
	private Integer eod_id;//编号,标识列自动增长
	private int eo_id;//订单ID
	private int ep_id;//商品ID
	private int eod_quantity;//数量
	private double eod_cost;//金额
	
	public OrderDetail() {
		super();
	}
	
	public OrderDetail(int eoId, int epId, int eodQuantity,
			double eodCost) {
		super();
		eo_id = eoId;
		ep_id = epId;
		eod_quantity = eodQuantity;
		eod_cost = eodCost;
	}
	
	public OrderDetail(int eodId, int eoId, int epId, int eodQuantity,
			double eodCost) {
		super();
		eod_id = eodId;
		eo_id = eoId;
		ep_id = epId;
		eod_quantity = eodQuantity;
		eod_cost = eodCost;
	}
	public int getEod_id() {
		return eod_id;
	}
	public void setEod_id(int eodId) {
		eod_id = eodId;
	}
	public int getEo_id() {
		return eo_id;
	}
	public void setEo_id(int eoId) {
		eo_id = eoId;
	}
	public int getEp_id() {
		return ep_id;
	}
	public void setEp_id(int epId) {
		ep_id = epId;
	}
	public int getEod_quantity() {
		return eod_quantity;
	}
	public void setEod_quantity(int eodQuantity) {
		eod_quantity = eodQuantity;
	}
	public double getEod_cost() {
		return eod_cost;
	}
	public void setEod_cost(double eodCost) {
		eod_cost = eodCost;
	}
	
	
	public String toString() {
		return eo_id+"\t"+eo_id+"\t"+ep_id+"\t"+eod_quantity+"\t"+eod_cost;
	}
	

}




